<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>测试thymeleaf</h1>
    <p th:text="${name}" style="color: red"></p>
</body>
</html>